package org.jeecg.common.util.p000a.p001a;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jeecg.common.util.p000a.BaseColumn;
import org.jeecg.common.util.p000a.CommonProperty;
import org.jeecg.modules.online.cgform.utils.CgformUtil;

/* renamed from: org.jeecg.common.util.a.a.c */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/common/util/a/a/c.class */
@Data
public class LinkDownProperty extends CommonProperty {

    /* renamed from: m */
    String dictTable;

    /* renamed from: n */
    List<BaseColumn> otherColumns;

    public LinkDownProperty() {
    }

    public LinkDownProperty(String str, String str2, String str3) {
        this.type = "string";
        this.view = CgformUtil.f248T;
        this.key = str;
        this.title = str2;
        this.dictTable = str3;
    }

    @Override // org.jeecg.common.util.p000a.CommonProperty
    public Map<String, Object> getPropertyJson() {
        HashMap hashMap = new HashMap(5);
        hashMap.put("key", getKey());
        JSONObject commonJson = getCommonJson();
        commonJson.put("config", JSONObject.parseObject(this.dictTable));
        commonJson.put("others", this.otherColumns);
        if (super.getPattern() != null) {
            commonJson.put("pattern", super.getPattern());
        }
        if (super.getErrorInfo() != null) {
            commonJson.put("errorInfo", super.getErrorInfo());
        }
        hashMap.put("prop", commonJson);
        return hashMap;
    }
}
